package com.kkwrite.regimen.provider.service.shop;

import java.util.List;

import com.kkwrite.regimen.common.entity.dto.shopItem.InsertShopItemInDTO;
import com.kkwrite.regimen.common.entity.dto.shopItem.InsertShopItemOutDTO;
import com.kkwrite.regimen.common.entity.dto.shopItem.ShopItemDTO;
import com.kkwrite.regimen.provider.exception.ServiceException;

/**
 * @author jinying
 */
public interface ShopItemService {

    /**
     * 查询项目店铺
     *
     * @param itemId       项目ID
     * @param shopKeywords 店铺关键字
     * @param lat          lat
     * @param lng          lng
     * @return list
     * @throws ServiceException 异常
     */
    List<ShopItemDTO> queryShopByItem(Long itemId, String shopKeywords, double lat, double lng,String city) throws ServiceException;
    
    /**
     * 查询项目店铺
     *
     * @param InsertShopItemInDTO       店铺项目入参
     */
    InsertShopItemOutDTO insertShopItem(InsertShopItemInDTO insertShopItemInDTO);
}
